@layout("/common/_container.html",{js:["/assets/modular/system/btyBxd/ddbxd.js"],css:["/assets/common/css/beautiful.css"]}){

<style>
    .btn-green {
        color: white;
        background-color: #64a84d;
    }
    .layui-form-label{
        width: 70px !important;
    }
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">ddbxd</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">会计</label>
                                <div class="layui-inline w90">
                                    <select id="kj">
                                        <option value="">全部会计</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">店名</label>
                                <div class="layui-inline w90">
                                    <input id="shopName" class="layui-input" type="text" placeholder="店名"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">提交人</label>
                                <div class="layui-inline w90">
                                    <input id="tijiaoren" class="layui-input" type="text" placeholder="提交人"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">报销人</label>
                                <div class="layui-inline w90">
                                    <input id="baoxiaoren" class="layui-input" type="text" placeholder="报销人"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">状态</label>
<!--                                <input id="st" class="layui-input" type="text" placeholder="状态"/>-->
                                <div class="layui-inline w90">
                                    <select name="st" lay-filter="" id="st" lay-search="">
                                        <option value="">全部状态</option>
                                        <option value="NEW">刚申报</option>
                                        <option value="RUNNING">审批中</option>
                                        <option value="TERMINATED">被终止</option>
                                        <option value="COMPLETED">已完成</option>
                                    </select>
                                </div>
                                
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">提交时间</label>
                                <div class="layui-input-inline">
                                    <input id="createTime" class="layui-input" type="text"  placeholder="提交时间">
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">审批时间</label>
                                <div class="layui-input-inline">
                                    <input id="finishTime"class="layui-input" type="text"  placeholder="审批完成时间">
                                </div>
                            </div>
                            <!--<div class="layui-inline">
                                <input id="endTime" class="layui-input" type="text" placeholder="结束时间"/>
                            </div>-->
                            <div class="layui-inline">

                                <button id="btnSearch" class="layui-btn layui-btn-sm">查询</button>

                                <button id="btnPull" class="layui-btn layui-btn-sm ml0">下载数据(按提交时间)</button>

                                <!--                                <button id="btnCopy" class="layui-btn layui-btn-sm" title="根据提交时间把所有同意报销的单店的报销单同步过去"><i class="layui-icon">&#xe630;</i>提交时间同步</button>-->
<!--                                <button id="btnCopyFinish" class="layui-btn layui-btn-sm" title="根据完成时间把所有同意报销的单店的报销单同步过去"><i class="layui-icon">&#xe630;</i>同步</button>-->
                                <!--<button id="btnCopyFinish" class="layui-btn layui-btn-sm" title="同步最新获取的钉钉同意的报销单到系统中"><i class="layui-icon">&#xe630;</i>导入单据</button>-->
<!--                                <button id="queryLastDaysData" class="layui-btn layui-btn-sm" title=""><i class="layui-icon">&#xe628;</i>批量同步(按完成时间)</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="DdbxdTable" lay-filter="DdbxdTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs btn-green" lay-event="edit">详情</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs btn-green" lay-event="sync">同步</a>
</script>
@}